-
Notifications
You must be signed in to change notification settings - Fork 65
starknet_os_runner: contract class hints to casm hints #11527
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
Artifacts upload workflows: |
This stack of pull requests is managed by Graphite. Learn more about stacking. |
Yoni-Starkware
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Yoni-Starkware reviewed 2 files and all commit messages, and made 2 comments.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @avi-starkware, @AvivYossef-starkware, and @noaov1).
crates/blockifier/src/execution/contract_class_test.rs line 266 at r1 (raw file):
let round_tripped_hints = program_hints_to_casm_hints(program_hints).unwrap(); // Compare with original (need to sort both for comparison).
I don't see any sort here
Code quote:
(need to sort both for comparison).0625b14 to
051c702
Compare
AvivYossef-starkware
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@AvivYossef-starkware made 1 comment.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @avi-starkware, @noaov1, and @Yoni-Starkware).
crates/blockifier/src/execution/contract_class_test.rs line 266 at r1 (raw file):
Previously, Yoni-Starkware (Yoni) wrote…
I don't see any sort here
they are both sorted the same ( with the Btree map )
avi-starkware
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@avi-starkware reviewed 2 files and all commit messages, and made 1 comment.
Reviewable status: all files reviewed, 2 unresolved discussions (waiting on @AvivYossef-starkware, @noaov1, and @Yoni-Starkware).
crates/blockifier/src/execution/contract_class.rs line 722 at r2 (raw file):
pub fn program_hints_to_casm_hints( program_hints: &HintsCollection, ) -> Result<Vec<(usize, Vec<Hint>)>, ProgramError> {
consider defining a CasmHintsCollection type as Vec<(usize, Vec<Hint>) and defining this function as the impl of From<HintsCollection>.
Code quote:
) -> Result<Vec<(usize, Vec<Hint>)>, ProgramError> {
avi-starkware
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: all files reviewed, 2 unresolved discussions (waiting on @AvivYossef-starkware, @noaov1, and @Yoni-Starkware).

No description provided.